class Ingreso < ActiveRecord::Base
  
  validates_presence_of :nombre
  validates_length_of :nombre, :maximum=>50
  
  has_many :pagos
  
end
